<template>
     <div id="box">
          <header>
               <ul>
                 <li @click="fanhui"><img src="../assets/img/fanhui.png"></li>
                 <li>修改个人信息</li>
                 <li><img src="../assets/img/xiaoxi.png"></li>
               </ul>
          </header>
          <section>
              <ul>
              <router-link to="xiugaitouxiang">
                <li><span>{{text}}</span><span><img :src="img"></span></li>
              </router-link>
              <router-link to="xiugaigerenxinxi">
                <li><span>{{texts}}</span><span><img :src="imgs"></span></li>
              </router-link>
              <router-link to="xiugaimima">
                <li><span>{{textss}}</span><span><img :src="imgss"></span></li>
              </router-link>
              <router-link to="xiugaixiujianrenxinxi">
                <li><span>{{tet}}</span><span><img :src="imag"></span></li>
              </router-link>
                <router-link to="xiugaixiujianrenxinxi">
                <li><span>{{txt}}</span><span><img :src="image"></span></li>
              </router-link>
              </ul>
             
          </section>
      <footer>
              <ul>
              <router-link to="/shouye">
              <li><img src="../assets/img/foot_1.png"><p>首页</p></li>
            </router-link>
            <router-link to="/fujin">
                <li><img src="../assets/img/foot_2.png"><p>附近</p></li>
              </router-link>
               <router-link to="yiweiyuanshenqing">
                <li><img src="../assets/img/foot_3.png"></li>
              </router-link>
                <router-link to="/wodedingdan">
                <li><img src="../assets/img/foot_4.png"><p>订单</p></li>
              </router-link>
              <router-link to="/gerenzhongxin"> 
                <li><img src="../assets/img/foot_5.png"><p>我的</p></li>
              </router-link>
              </ul>
          </footer>
     </div>
</template>

<script>
export default {
  name: 'box',
  data () {
    return{
        
           text:"编辑头像",img:"../../static/gengduo.png",
           texts:"个人信息",imgs:"../../static/gengduo.png",
           textss:"更改密码",imgss:"../../static/gengduo.png",
           tet:"常用联系人",imag:"../../static/gengduo.png",
           txt:"常用收件人",image:"../../static/gengduo.png",
          
        
    }
  },
  methods:{
    fanhui(){
      this.$router.go(-1)
    }
  }
}

</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
   @import ".././assets/less/xiugaigerenxinxi2.less";
   @import ".././assets/css/reset.css";
</style>